; For comments, bugs (yes, I know there's still a lot of them)
; suggestions etc. write to: 95lenjo@ostrabo.uddevalla.se
;Ask where to place the Wzonka-Lad directory
(message "\nWelcome to Wzonka-Lad Installer!\n-----------------------\n\nThis program will install\n Wzonka-Lad 0.99.9\n on your Amiga\n\n (c) Ville Helin 1996-1998\nvhelin@cc.hut.fi\n\n")
(welcome)
(complete 0)
(set @default-dest
(askdir (prompt "Where would you like me to create the\n\"Wzonka-Lad\" directory?")
(help @askdir-help)
(default "Ram:")
(newpath)
)
)
;Create Wzonka-Lad directory
(complete 7)
(set target
(tackon @default-dest (cat "Wzonka-Lad")))
(makedir target
(prompt "Creating directory:\n\""target"\"")
(help @makedir-help)
)
(copyfiles
(dest @default-dest)
(source "icons/install/Wzonka-Lad.info")
(files))
(set @default-dest (target))
;Install the executables
(complete 14)
(copyfiles
(prompt "Where would you like me to put the executables?")
(prompt "Install the VGB (tm) example colour files to:\n")
(help @copyfiles-help)
(source "vgb_colour_schemes")
(dest @default-dest)
(confirm)
(all)
)
;Install the extra Icons
(complete 70)
(set @default-dest (target))
(set @default-dest
(askdir (prompt "Where do you want the extra icons?\n(A drawer called \"icons\" will be made!)")
(help @askdir-help)
(default @default-dest)
(newpath)
)
)
(set @default-dest
(tackon @default-dest (cat "icons")))
(makedir @default-dest
(prompt "Creating directory...")
(help @makedir-help)
)
(copyfiles
(prompt "Install the extra icons to:\n")
(help @copyfiles-help)
(source "icons")
(dest @default-dest)
(confirm)
(all)
)
;Install the tools directory
(complete 77)
(set @default-dest (target))
(set @default-dest
(askdir (prompt "Where do you want the extra tools?\n(A drawer called \"tools\" will be made!)")
(help @askdir-help)
(default @default-dest)
(newpath)
)
)
(set @default-dest
(tackon @default-dest (cat "tools")))
(makedir @default-dest
(prompt "Creating directory...")
(help @makedir-help)
)
(copyfiles
(prompt "Install the extra tools to:\n")
(help @copyfiles-help)
(source "tools")
(dest @default-dest)
(confirm)
(all)
)
;Install the gbs directory and an example gbs file
(complete 84)
(set @default-dest (target))
(set @default-dest
(askdir (prompt "And the gbs directory?\n(A drawer called \"gbs\" will be made!)")
(help @askdir-help)
(default @default-dest)
(newpath)
)
)
(set @default-dest
(tackon @default-dest (cat "gbs")))
(makedir @default-dest
(prompt "Creating directory...")
(help @makedir-help)
)
(copyfiles
(prompt "Install an gbs example file to:\n")
(help @copyfiles-help)
(source "gbs")
(dest @default-dest)
(confirm)
(all)
)
;Install the favourites directory and the favourite list
(complete 91)
(set @default-dest (target))
(set @default-dest
(askdir (prompt "And the favourites directory?\n(A drawer called \"favourites\" will be made!)")
(help @askdir-help)
(default @default-dest)
(newpath)
)
)
(set @default-dest
(tackon @default-dest (cat "favourites")))
(makedir @default-dest
(prompt "Creating directory...")
(help @makedir-help)
)
(copyfiles
(prompt "Install an favourite.list example to:\n")
(help @copyfiles-help)
(source "favourites")
(dest @default-dest)
(confirm)
(all)
)
;Write out some copyright stuff
(complete 100)
(set @default-dest (target))
(message "\nEnjoy your Gameboy (tm) emulator!\n\n(c) Ville Helin 1996-1998\nvhelin@cc.hut.fi\n\n For comments about the installer mail to:\nLennart Johannesson\n95lenjo@ostrabo.uddevalla.se")